package vma.nicici.chat.api.map;

public class Marker implements UrlStringable{
	public static final char DIVIDER = '|';

	 String color;
	 String label;
	 Point point;
	
	public Marker(String color, String label, Point point) {
		this.color = color;
		this.label = label;
		this.point = point;
	}
	
	public String asUrl() {
		return "color:"+color+DIVIDER+"label:"+label.charAt(0)+DIVIDER+point.asUrl();
	}
	
}
